sgpb\AdminHelper D

Total Complexity 477
Dependencies 12
Dependents 26
Total lines 2,543
Lines of code 1,946
Logical lines of code 1,176
Comment lines 190
Methods 89
Properties 0

Methods 89

Method Rating Maintainability Complexity Lines of code
getSystemInfoText()
D
24
41 146
sgpbScanCustomJsProblem()
C
35 28 83
updatesInit()
B
40 23 54
getBrowser()
B
37 20 68
createSelectBox()
B
41 19 55
subscribersRelatedQuery()
B
41 17 50
renderCustomScripts()
B
38 16 65
themeRelatedSettings()
A
51 17 28
createRadioButtons()
A
41 15 53
getHost()
A
46 14 39
filterUserCapabilitiesForTheUserRoles()
A
43 12 49
defaultButtonImage()
A
51 10 27
getCurrentUserRole()
A
49 9 32
allowed_html_tags()
A
33 2 123
sendTestNewsletter()
A
43 7 48
hasInactiveExtensions()
A
51 8 25
createInput()
A
54 8 20
getGutenbergPopupsIdAndTitle()
A
49 7 33
makeRegisteredPluginsStaticPathsToDynamic()
A
49 7 32
shouldOpenReviewPopupForDays()
S
50 7 29
hexToRgba()
S
50 7 29
deleteUserFromSubscribers()
S
50 7 28
removeUnnecessaryCodeFromPopups()
S
50 7 27
getPopupsIdAndTitle()
S
52 7 26
arrayMergeSameKeys()
S
52 7 25
checkIfLicenseIsActive()
S
53 6 20
getSubscriptionColumnsById()
S
56 5 17
getTaxonomyBySlug()
S
59 5 15
getCurrentPostType()
S
59 5 15
checkEditorByPopupId()
S
58 5 14
getCurrentPopupType()
S
59 5 14
createCheckBox()
S
58 5 14
removeSelectedTypeOptions()
S
60 5 14
isPluginActive()
S
60 5 13
dateToSeconds()
S
59 5 13
getMaxOpenPopupContent()
S
45 1 69
popupGetClonePostLink()
S
57 4 16
shouldOpenForMaxOpenPopupMessage()
S
61 4 12
getImageDataFromUrl()
S
62 4 11
renderAlertCustomJsProblem()
S
54 3 24
renderAlertEnableCustomJS()
S
58 3 18
getAllExtensions()
S
57 3 18
getAllFreeExtensions()
S
57 3 18
getEmailHeader()
S
58 3 15
getCSSSafeSize()
S
64 4 10
sgpbScanCustomJsStr()
S
62 3 11
renderExtensionsContent()
S
55 2 22
getMaxOpenPopupsMessage()
S
55 2 19
deleteSubscriber()
S
57 2 16
sendEmailAboutUnsubscribe()
S
56 2 16
getCustomFormFieldsByPopupId()
S
66 3 9
getAllActiveExtensions()
S
63 3 10
getPopupPostAllowedUserRoles()
S
64 3 10
createAttrs()
S
64 3 10
subscriberExists()
S
64 3 10
getSiteProtocol()
S
67 3 7
getMaxOpenPopupId()
S
60 2 14
getPopupMainTableCreationDate()
S
59 2 13
removeAllNonPrintableCharacters()
S
61 2 12
renderAlertProblem()
S
57 1 20
getExtensionAvaliabilityOptions()
S
58 1 19
hasBlocks()
S
70 2 6
findSubscribersByEmail()
S
63 2 10
getFileFromURL()
S
66 2 9
buildCreatePopupUrl()
S
65 2 9
getPopupThumbClass()
S
65 2 9
getReverseConvertIds()
S
68 2 8
userCanAccessTo()
S
64 2 10
getMaxOpenDaysMessage()
S
62 1 11
supportBannerNotification()
S
60 1 11
updateOption()
S
79 1 3
getSettingsURL()
S
74 1 4
getPopupExportURL()
S
65 1 9
addArgsToURl()
S
75 1 4
allowed_wrap_html_tags()
S
72 1 4
getDateObjFromDate()
S
72 1 5
serializeData()
S
76 1 4
showMenuForCurrentUser()
S
80 1 3
getImageAltTextByUrl()
S
72 1 5
deleteSubscriptionPopupSubscribers()
S
71 1 5
getFormattedDate()
S
69 1 6
getOption()
S
79 1 3
addUnsubscribeColumn()
S
72 1 5
getPopupTypesPageURL()
S
78 1 3
getRightMetaboxBannerText()
S
76 1 4
getGutenbergPopupsEvents()
S
63 1 10
renderWPBakeryScriptsAndStyles()
S
78 1 3
deleteOption()
S
80 1 3
getPopupUsageDays()
S
65 1 8